import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.config.productionTip = false
Vue.use(ElementUI);
//引入和配置axios、qs
import axios from 'axios'
import qs from 'qs'
Vue.prototype.$axios = axios;
Vue.prototype.$qs = qs;
// axios.defaults.baseURL = 'http://localhost:8888/ums_servlet_01_bjx'
axios.defaults.baseURL = 'http://localhost:8088'
axios.defaults.withCredentials = true	//允许axios发送cookie
Vue.prototype.$http = axios
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
